<?php
if(isset($_SESSION['admin_login']) && $_SESSION['admin_login'] == 1)
{
	$u = $_SESSION['admin_login'];
?>

<div id="function">
    THÔNG BÁO
</div>

<div id="tb" style="text-align:center"></div>
    <center><form name="tb" method="post" enctype="multipart/form-data" action="tintuc/upload_file.php">
   	<table width="700px">
       	<tr><th style="text-align:left; width:100px;">Tiêu đề: </th><td><input type="text" maxlength="150" name="tieude" style="width:500px;" /></td></tr>
        <tr><th colspan="2" style="text-align:left">Nội dung:</th></tr>
        <tr><td colspan="2"><input type="hidden" name="MAX_FILE_SIZE" value="20000000" /></td></tr>
        <tr><td colspan="2">Attach file1: <input type="file" name="file[]" /></td></tr>
        <tr><td colspan="2">Attach file2: <input type="file" name="file[]" /></td></tr>
        <tr><td colspan="2">Attach file3: <input type="file" name="file[]" /></td></tr>
        <tr><td colspan="2">*Note: Tổng File upload không quá 2MB</td></tr>
        <tr><td colspan="2"><textarea name="noidung" style="width:700px; min-height:200px;" ></textarea></td></tr>
        <tr><td colspan="2" style="text-align:center"><input type="submit" name="bt_tb" value="Đăng Bài" style="width:80px;" /></td></tr>
    </table>
    </form></center>
</div>
<?php
}
?>